#!/bin/sh
cd /home/Binsql
mysqldump -uroot -p"sqlmima" ov > /home/Binsql/ov$(date +%Y%m%d).sql
mysqldump -uroot -p"sqlmima" binyun > /home/Binsql/yun$(date +%Y%m%d).sql
rm -rf /var/log/squid/*
rm -rf /var/log/httpd/*
service mysqld restart
service httpd restart
service squid restart